
//
//  AFHTTPSessionManager+Manager.h
//  CarStor
//
//  Created by 千锋 on 16/1/14.
//  Copyright (c) 2016年 1000phone. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@interface AFHTTPSessionManager (Manager)

+ (void)GET:(NSString *)urlStr
             parmaeters:(id) parameters
                success:(void(^)(NSURLSessionDataTask *task, id responseObject)) success
                failure:(void(^)(NSURLSessionDataTask *task,NSError *error))failure;

+ (void)POST:(NSString *)urlStr
 parmaeters:(id) parameters
    success:(void(^)(NSURLSessionDataTask *task, id responseObject)) success
    failure:(void(^)(NSURLSessionDataTask *task,NSError *error))failure;

@end
